package com.estate.service.city;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.estate.mapper.CityMapper;
import com.estate.pojo.City;

@Service
public class CityServiceImpl implements CityService {
	@Autowired
	private CityMapper cityMapper;

	@Override
	public List<City> allCity() throws Exception{
		return cityMapper.allCity();
	}

	@Override
	public List<String> selectCityNameByDetail() throws Exception {
		return cityMapper.selectCityNameByDetail();
	}

}
